home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / batchut / bcsrce2.zip / BATINDEX.SYN < prev    next >
Text File  |  1990-02-09  |  5KB  |  66 lines

  1. ABS(solute) [Let %!a = -5; ABS %!a; If %!a = 5 Goto Branch]             Page 15
  2. ADD %!a 5 {adds 5 to variable}                                          Page 15
  3. ANSI {tells compiler to use ANSI.SYS for screen writes}                 Page 15
  4. Batcom [File.BAT] [[/A]/[/B]] [/D] [/Ofile.OBJ]                         Page 13
  5. BEEP {sounds a short beep}                                              Page 15
  6. BIOS {tells compiler to use bios drivers for screen writes}             Page 16
  7. CLEARBUF {clears typeahead keyboard buffer}                             Page 24
  8. CLOSE_FILE {close the READ_FILE text.fil being read}                    Page 27
  9. Compiled commands                                                       Page 14
  10. COPYD {like COPY but won't overwrite newer copy with an older one}      Page 16
  11. DAY_OF_MONTH  {where ERRORLEVEL for 1=1-31=31}                          Page 29
  12. DAY_OF_WEEK  {where ERRORLEVEL for Sun=0-Sat=6}                         Page 29
  13. DIV %!a 5 {divides variable by 5}                                       Page 15
  14. DO_WHILE  [DO_WHILE condition; commands; END_WHILE]                     Page 16
  15. END_WHILE  [DO_WHILE condition; commands; END_WHILE]                    Page 17
  16. ECHO [\\#] {where # is ascii code}                                      Page 18
  17. ECHONOLF [\\#] {where # is ascii code}                                  Page 18
  18. EMMFREE %!a  (expanded memory {stored in variable})                     Page 19
  19. EMMSTATUS {returns ERRORLEVEL where <>0 = an error or not present}      Page 19
  20. END_OF_FILE?   {returns ERRORLEVEL where <>0 = end of READ_FILE}        Page 27
  21. ERRLEVEL  {same as DOS's ERRORLEVEL but requires an exact match test}   Page 23
  22. ERROR_LEVEL %!a  {converts current ERRORLEVEL value to a variable}      Page 19
  23. EQ %1 50 {returns ERRORLEVEL where <>0 = two variable aren't equal}     Page 20
  24. EXIT  {same as cancel program}                                          Page 20
  25. FILESIZE %!a {converts filespec %!a to total of bytes in files}         Page 20
  26. FIND_STRING {Let %!s = text; FIND_STRING %!s ex; (%!a now = 2)}         Page 20
  27. FREEDISK %!a {converts drivespec %!a to total of bytes left on drive}   Page 21
  28. FREEMEM %!a {places current free memory total into variable %!a}        Page 21
  29. FORMFEED  {sends ASCII 12 (page eject) to PRN}                          Page 21
  30. GE %1 50 {returns ERRORLEVEL where <>0 =two variable aren't Grt Than=2} Page 20
  31. GETDIR %!a {places current directory string into variable %!a}          Page 21
  32. GETDRIVE %!a {places current drive string into variable %!a}            Page 21
  33. GET_GOSUB_PARAMETER %!a {places GOSUB parameter into variable %!a}      Page 22
  34. GETKEY {see KEYVAL (p. 48) table p. 54 for ERRORLEVEL returned}         Page 22
  35. GOSUB [Labelname] {branches to label which must contain a RETURN}       Page 22
  36. GT %1 50 {returns ERRORLEVEL where <>0 =two variable aren't Grt Than}   Page 20
  37. HOUR_HOUR  {where ERRORLEVEL is returned of 0-23 for 24hr clock}        Page 29
  38. IF par1 = par2 [branch] {case insensitive IF test}                      Page 23
  39. IF par1 == par2 [branch] {case sensitive IF test}                       Page 23
  40. KEYBUF text\#text\# {where #=ascii number} (typeahead keyboard buffer)  Page 24
  41. KEYPRESSED {returns ERRORLEVEL where <>0 = a key hasn't been pressed}   Page 24
  42. KEYVAL {returns GETKEY's ERRORLEVEL at prompted key press} .EXE progrm  Page 48
  43. LABEL [labelname] {same as :labelname}                                  Page 25
  44. LE %1 50 {returns ERRORLEVEL where <>0=two variable aren't Less Than=2} Page 20
  45. LOCATE #r #c {where #r = row 1-25, #c = column 1-80} (Locate 10 15)     Page 25
  46. LOWER %!a  {converts all text in %!a to lower case}                     Page 29
  47. LT %1 50 {returns ERRORLEVEL where <>0=two variable aren't Less Than}   Page 20
  48. MINUTE_MINUTE  {where ERRORLEVEL 0-59 returned for current minute}      Page 29
  49. MOD %!a 5 {divides variable by 5 returning modulus (remainder)}         Page 15
  50. MONTH_MONTH  {where ERRORLEVEL for Jan=1-Dec=12}                        Page 29
  51. MUL %!a 5 {multiplies variable by 5}                                    Page 15
  52. PARSE %!a %!b ,.; {%!a contains 1st word %!b rest of string %!b}        Page 25
  53. PAUSE [Prompt]  [\\#] {where # is ascii code}                           Page 18
  54. PAUSENOLF [Prompt]  [\\#] {where # is ascii code}                       Page 18
  55. READ_FILE %!a [File.Txt] {[F.T] only at 1st} (%!a = line read of file)  Page 26
  56. READ_SCREEN %!a  {places current row of screen display into %!a}        Page 27
  57. SECONDS_SECONDS  {where ERRORLEVEL 0-59 returned for current second}    Page 29
  58. STRING_LENGTH %!a  {converts %!a to numeric length of %!a}              Page 28
  59. SUB %!a 5 {subtract 5 from variable}                                    Page 15
  60. SUBSTRING %!a #p #l {where #p=position to start at, #l=length to pull}  Page 28
  61. UPPER %!a  {converts all text in %!a to upper case}                     Page 29
  62. User defined variables %!a-to-%!z [Let %!a = %1]                        Page 14
  63. WAIT #  {pause display until # of seconds has passed}                   Page 29
  64. WAITKEY # {pause display until # of seconds has passed or key pressed}  Page 29
  65. YEAR_YEAR {where ERRORLEVEL = (1980-2099)}                              Page 29
  66.